<?php if (!defined("MAIN_DIR")) { header("Location: /"); die; }

class UV {
	static function readInt($var,$min=0,$max=4294967296){
		return filter_var($var,FILTER_VALIDATE_INT);
	}
	
	static function readBool($var){
		return filter_var($var,FILTER_VALIDATE_BOOLEAN);
	}
	
	static function readMQ($var){
		return filter_var($var,FILTER_SANITIZE_MAGIC_QUOTES);
	}
}
?>